﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PcArduinoControl
{
	enum CommandType :
		byte
	{
		// Misc                  (0x00 - 0x0f)
		Connect       = 0x00,
		Disconnect    = 0x01,
		Wake          = 0x02,
		Sleep         = 0x03,
		WatchdogFeed  = 0x04,
		EStop         = 0x05,
        RequestResend = 0x06,
		// Low Level             (0x10 - 1f)
		ConfigPins    = 0x10,
		OutDig        = 0x11,
		OutAnl        = 0x12,
		InDigRequest  = 0x13,
		InDigStream   = 0x14,
		InAnlRequest  = 0x15,
		InAnlStream   = 0x16,	
		// High Level            (0x20 - 0xdf)
		// Reserved for Protocol (0xe0 - 0xef)
		// Reserved for Internal (0xf0 - 0xff)
		Invalid       = 0xff,
	}
}
